ContentSwitcherSize

Enum class representing the size of a ContentSwitcher.

There are three height sizes for the content switcher — small (32px), medium (40px), and large (48px). Choose a size that best fits your layout’s density or the switcher’s prominence.

(From Content switcher documentation)

Enum class representing the size of a ContentSwitcher.

There are three height sizes for the content switcher — small (32dp), medium (40dp), and large (48dp). Choose a size that best fits your layout’s density or the switcher’s prominence.

(From Content switcher documentation)

Enum class representing the size of a ContentSwitcher.

There are three height sizes for the content switcher — small (32px), medium (40px), and large (48px). Choose a size that best fits your layout’s density or the switcher’s prominence.

(From Content switcher documentation)

Enum class representing the size of a ContentSwitcher.

There are three height sizes for the content switcher — small (32px), medium (40px), and large (48px). Choose a size that best fits your layout’s density or the switcher’s prominence.

(From Content switcher documentation)

Enum class representing the size of a ContentSwitcher.

There are three height sizes for the content switcher — small (32px), medium (40px), and large (48px). Choose a size that best fits your layout’s density or the switcher’s prominence.

(From Content switcher documentation)

Entries

Link copied to clipboard

32dp height size for the content switcher.

32dp height size for the content switcher.

32dp height size for the content switcher.

32dp height size for the content switcher.

32dp height size for the content switcher.

Link copied to clipboard

40dp height size for the content switcher.

40dp height size for the content switcher.

40dp height size for the content switcher.

40dp height size for the content switcher.

40dp height size for the content switcher.

Link copied to clipboard

48dp height size for the content switcher.

48dp height size for the content switcher.

48dp height size for the content switcher.

48dp height size for the content switcher.

48dp height size for the content switcher.

Properties

entries
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
ordinal
Link copied to clipboard

Functions

valueOf
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.